package fitnesshub.pojo.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 教练
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Coach {
    private Integer coachId;
    private String coachName;
    private String gender;
    private String contact;
    private String specialization;
    private String introduction;
    private String avatar;
    private Integer age;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
}
